﻿@extends('common.header')
<!DOCTYPE html>
<html lang="en">
<head>
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="apple-mobile-web-app-status-bar-style" content="white">
    <meta charset="UTF-8">
	<title>{{ $player_info->name }}_{{ $player_info->name }}身价_{{ $player_info->name }}资料{{ $config->webName }}</title>
	<meta name="Keywords" content="{{ $player_info->name }},{{ $player_info->name }}身价,{{ $player_info->name }}资料" />
	<meta name="Description" content="蜘蛛比分网(zhizhu.TV)为您提供{{ $player_info->name }}详细数据，包含{{ $player_info->name }}个人信息、身价以及参赛数据等，想了解{{ $player_info->name }}相关资料，就上蜘蛛比分网。"/>
	<link rel="shortcut icon" href="{{ asset('/images/favicon.ico') }}" />
	<link rel="stylesheet" type="text/css" href="{{ asset('/css/juhe/playerdetail.css') }}"/>
	<script src=" {{ asset('/js/jquery-1.8.3.min.js') }} "></script>
</head>
<body>
<!--面包屑导航-->
<div style="width: 1200px;height: 40px;line-height:40px;position: relative;margin: 110px auto 0">
    <ol style="float: left;overflow: hidden;color: #333;list-style: none;">
        <li style="float: left;margin-left: 5px">当前位置：</li>
        <li style="float: left;margin-left: 5px"><a href="{{ url('/') }}" style="color: #de1e30;margin-left: 5px">首页</a></li>
        <li style="float: left;margin-left: 5px"><a href="{{ url('/database') }}" style="color: #de1e30;margin-left: 5px">>资料库</a></li>
		<li style="float: left;margin-left: 5px">>球员 >{{ $player_info->name }}</li>
    </ol>
</div>



<div class="w">
    <!--左侧-->
    <div class="left fl">
        <!--球队详情-->
        <div class="detail_left">
            <div class="team_detail">
                <a href="#" class="team_logo"><img src="{{ $player_info->image_130x180_url }}" alt=""></a>
                <a href="#" class="player_name">{{ $player_info->name }}</a>
            </div>
            <table class="t_ball">
                <tbody>
                <tr class="zj_ball">
                    <td colspan="1" class="t_dark">中文名</td>
                    <td colspan="2">{{ $player_info->name }}</td>
                    <td colspan="1" class="t_dark">英文名</td>
                    <td colspan="2">{{ $player_info->name_en }}</td>
                </tr>
                <tr class="zj_ball">
                    <td colspan="1" class="t_dark">身高(cm)</td>
                    <td colspan="2">{{ $player_info->height }}</td>
                    <td colspan="1" class="t_dark">体重(kg)</td>
                    <td colspan="2">{{ $player_info->weight }}</td>
                </tr>
                <tr class="zj_ball">
                    <td colspan="1" class="t_dark">出生日期</td>
                    <td colspan="2">{{ $player_info->birth_date }}</td>
                    <td colspan="1" class="t_dark">年龄</td>
                    <td colspan="2">{{ $player_info->age }}</td>
                </tr>
                <tr class="zj_ball">
                    <td colspan="1" class="t_dark">国家</td>
                    <td colspan="2">{{ $player_info->country }}</td>
                    <td colspan="1" class="t_dark">球号</td>
                    <td colspan="2">{{ $player_info->jersey_num }}</td>
                </tr>
                <tr class="zj_ball">
                    <td colspan="1" class="t_dark">惯用脚</td>
                    <td colspan="2">{{ $player_info->custom_foot }}</td>
                    <td colspan="1" class="t_dark">身价(万欧)</td>
                    <td colspan="2">{{ $player_info->worth }}</td>
                </tr>
                </tbody>
            </table>
        </div>
        <!--球队赛果和阵容-->
        <!--简介 历程-->
        <div class="rmss cont_t_r">
            <!--标题-->
            <div class="xfrw1" style="width: 796px">
                <div class="sek"></div>
                <h3>球员<span class="col2">简介</span></h3>
            </div>
            <div class="team1 team_r">
                <div>
                    <p>{{ $player_info->description }}</p>
                </div>
            </div>
        </div>

    </div>
    <!--右侧-->
    <div class="right fr">
        <!--标题-->
        <div class="xfrw1" style="width: 349px">
            <div class="sek"></div>
            <h3>
				队友<span class="col2">
				介绍</span>
			</h3>
        </div>
        <!--推荐球员-->
        <div class="right_team">
            <ul>
                <li class="qianfeng qy">
                    
					<p>前锋</p>
                    <table>
                        <thead>
                        <tr>
                            <td>号码</td>
                            <td>国籍</td>
                            <td>头像</td>
                            <td>球员</td>
                        </tr>
                        </thead>
                        <tbody>
							@forelse( $other_contain['4'] as $key => $player_info )
							<tr>
								<td class="number">{{ $player_info->jersey_num }}</td>
								<td class="guoji">
									{{ $player_info->country }}
									<i class="icon-matchflag_Country"></i>
								</td>
								<td class="qiuyuan">
									<i class="icon-icon_player02" style="background-image: url({{ $player_info->image_86x120_url }})"></i>

								</td>
								<td class="qiuyuan1">
									<a href="{{ url('/playerdetail') }}/{{ $player_info->player_id }}" class="name">{{ $player_info->name }}</a>
								</td>
							</tr>
							@empty
							@endforelse
                       
                        </tbody>
                    </table>
                </li>
               
				<li class="zhongchang qy" >
                    <p onclick="$('#middle').toggle();" style="cursor:pointer;" ><i></i> 中场</p>
                    <table id="middle" style="display:none;">
                        <thead>
                        <tr>
                            <td>号码</td>
                            <td>国籍</td>
                            <td>头像</td>
                            <td>球员</td>
                        </tr>
                        </thead>
                        <tbody>
							
							@forelse( $other_contain['3'] as $key => $player_info )
							<tr>
								<td class="number">{{ $player_info->jersey_num }}</td>
								<td class="guoji">
									{{ $player_info->country }}
									<i class="icon-matchflag_Country"></i>
								</td>
								<td class="qiuyuan">
									<i class="icon-icon_player02" style="background-image: url({{ $player_info->image_86x120_url }})"></i>

								</td>
								<td class="qiuyuan1">
									<a href="{{ url('/playerdetail') }}/{{ $player_info->player_id }}" class="name">{{ $player_info->name }}</a>
								</td>
							</tr>
							@empty
							@endforelse
                        
                        </tbody>
                    </table>
                </li>
                <li class="houwei qy">
                    <p onclick="$('#houwei').toggle();" style="cursor:pointer;" ><i></i> 后卫</p>
                    <table id="houwei" style="display:none;" >
                        <thead>
                        <tr>
                            <td>号码</td>
                            <td>国籍</td>
                            <td>头像</td>
                            <td>球员</td>
                        </tr>
                        </thead>
                        <tbody>
                        
						@forelse( $other_contain['2'] as $key => $player_info )
						<tr>
							<td class="number">{{ $player_info->jersey_num }}</td>
							<td class="guoji">
								{{ $player_info->country }}
								<i class="icon-matchflag_Country"></i>
							</td>
							<td class="qiuyuan">
								<i class="icon-icon_player02" style="background-image: url({{ $player_info->image_86x120_url }})"></i>

							</td>
							<td class="qiuyuan1">
								<a href="{{ url('/playerdetail') }}/{{ $player_info->player_id }}" class="name">{{ $player_info->name }}</a>
							</td>
						</tr>
						@empty
						@endforelse
					
                        </tbody>
                    </table>
                </li>
                <li class="menjiang qy">
                    <p onclick="$('#door').toggle();" style="cursor:pointer;" ><i></i> 门将</p>
                    <table id="door" style="display:none;" >
                        <thead>
                        <tr>
                            <td>号码</td>
                            <td>国籍</td>
                            <td>头像</td>
                            <td>球员</td>
                        </tr>
                        </thead>
                        <tbody>
                        @forelse( $other_contain['1'] as $key => $player_info )
						<tr>
							<td class="number">{{ $player_info->jersey_num }}</td>
							<td class="guoji">
								{{ $player_info->country }}
								<i class="icon-matchflag_Country"></i>
							</td>
							<td class="qiuyuan">
								<i class="icon-icon_player02" style="background-image: url({{ $player_info->image_86x120_url }})"></i>

							</td>
							<td class="qiuyuan1">
								<a href="{{ url('/playerdetail') }}/{{ $player_info->player_id }}" class="name">{{ $player_info->name }}</a>
							</td>
						</tr>
						@empty
						@endforelse
                        
                        </tbody>
                    </table>
                </li>
                <li class="jiaolian qy">
                    <p onclick="$('#coach').toggle();" style="cursor:pointer;" ><i></i> 教练</p>
                    <table id="coach" style="display:none;" >
                        <thead>
                        <tr>
                            <td>指教胜率</td>
                            <td>国籍</td>
                            <td>头像</td>
                            <td>教练</td>
                        </tr>
                        </thead>
                        <tbody>
                        
						<tr>
							<td class="number">{{ $coach_info->win_per or '暂无' }}</td>
							<td class="guoji">
								{{ $coach_info->country_cn or '暂无' }}
							</td>
							<td class="qiuyuan">
								<i class="icon-icon_player02" style="background-image: url({{ $coach_info->image_86x120_url }})"></i>

							</td>
							<td class="qiuyuan1">
								<a href="" class="name">{{ $coach_info->official_name }}</a>
							</td>
						</tr>
						
                        </tbody>
                    </table>
                </li>
            </ul>
        </div>
    </div>

</div>
<script type="text/javascript">
//等待dom元素加载完毕.
// $(document).ready(function(){
	// $(".qy table").eq(0).show();
 // $(".qy").click(function(){
  // $(this).children("table").show().end()//将子节点的a元素显示出来并重新定位到上次操作的元素
  // .siblings().children("table").hide();//将兄弟元素下的a元素隐藏
 // });
// });
</script>


@extends('common.footer')
</body>
</html>